wx.cloud.init()
Page({

  data: {
    loading: true,
    list:[],
  },

  
  onLoad: function (options) {
    const db = wx.cloud.database()
    db.collection('data_stu').get({
      success: res => {
        this.list = res.data
         console.log(this.list)
      }
    })
  },

 
  onReady: function () {
    this.setData({
      loading: false,
    });
   
  },

})